difference quotient to find the derivative of x